package com.zkkz.boot.campus;

//import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//@EnableKnife4j
@EnableDiscoveryClient
@EnableTransactionManagement
//@EnableAspectJAutoProxy(exposeProxy = true)
@EnableScheduling
@MapperScan({"com.zkkz.boot.campus.mapper"})
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, MongoAutoConfiguration.class, MongoDataAutoConfiguration.class}
        /*,scanBasePackages = {"com.baomidou.mybatisplus.core"}*/)
public class WisdomCampusApplication {

    public static void main(String[] args) {
        SpringApplication.run(WisdomCampusApplication.class, args);
    }

}
